package edu.kjxy.day03.StringAndSyn2;

/**
 * 功能:
 * 作者:程序员欧阳子韩
 * 日期:2024/2/2 20:27
 */
public class ThreadA extends Thread{
    private Service service;
    public ThreadA(Service service){
        super();
        this.service = service;
    }

    @Override
    public void run() {
        service.print(new Object());
    }
}
